<?php
namespace app\index\controller\wechat;

use pay\wechat\lib\WxPayNotifyCallBack;

use think\Log;

/**
 * 微信支付结果通知回调
 */
class WxPayBack extends \think\Controller
{
  public function index()
  {
  	Log::init([
        'type'  =>  'File',
        'path'  =>  APP_PATH.'logs/'
    ]);
    Log::write("进入回调", 'WxPayBack');

    $notify = new WxPayNotifyCallBack();
    $notify->Handle(false);
  }
}
